<template>
  <div class="main-wrap">
    <router-view v-slot="{ Component }">
      <keep-alive>
        <component :is="Component" />
      </keep-alive>
    </router-view>
  </div>
</template>

<script setup lang="ts">
import { useTagsViewStore } from '@/stores/modules/tagView'
const tagsViewStore = useTagsViewStore()

</script>
<style lang="scss" scoped>
.main-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
}


.fade-transform-enter-from {
  opacity: 0;
  transform: translateX(60px);
}
.fade-transform-leave-to {
  opacity: 0;
  transform: translateX(-60px);
}
.fade-transform-enter-active,
.fade-transform-leave-active {
  transition: all 0.5s;
}
</style>
